package com.zucc.controller.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 4:47 下午
 */
@Data
@ApiModel("栏目信息返回值")
public class TopicResp {

    @ApiModelProperty(value = "栏目编号", required = true)
    @NotNull(message = "栏目编号不能为空")
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", required = true)
    private Date modifyTime;

    @ApiModelProperty(value = "备注", required = true)
    private String remarks;

    @ApiModelProperty(value = "栏目名称",required = true)
    private String name;

    @ApiModelProperty(value = "栏目描述",required = true)
    private String description;

    @ApiModelProperty(value = "栏目排序",required = true)
    private Integer sort;
}
